Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Alexaスキルを安心安全に開発運用するためのAWS自動化ソリューション

chao2suke
February 23, 2019

 Alexaスキルを安心安全に開発運用するためのAWS自動化ソリューション

2019/02/23 JAWS Days 2019 登壇資料

chao2suke

February 23, 2019
Tweet

More Decks by chao2suke

Other Decks in Technology

Transcript

  1. ࣗݾ঺հ • ਗ਼໺߶࢙ʢͤʔͷʣ • Ϋϥεϝιουגࣜձࣾ
 AIιϦϡʔγϣϯ෦
 ࡳຈΦϑΟεॴଐ
 AlexaςΫχΧϧΤόϯδΣϦετ / 


    VUIΞʔΩςΫτ • ࠷ۙAWS Certified Alexa Skill Builder - SpecialtyΛड͚ͯ
 AWSࢼݧݴޠ͕ͳͯ͘ײಈ
  2. buildspec.yml version: 0.2 env: variables: SKILL_NAME: demo STAGE: dev AWS_ACCOUNT_ID:

    xxxxxxxxxxxx phases: pre_build: commands: - mkdir /root/.ask - "aws s3 sync s3://askconfig-${AWS_ACCOUNT_ID}-${AWS_REGION} /root/.ask/" - cd functions/skill - yarn - cd ../../
  3. buildspec.yml build: commands: - echo Build started on `date` -

    "/usr/local/bin/apex --env ${STAGE} deploy skill" - "aws lambda add-permission --statement-id 1 --function-name ${SKILL_NAME}_$ {STAGE} --action lambda:invokeFunction --principal alexa-appkit.amazon.com || true" - cd model - "sh build.${STAGE}.sh" post_build: commands: - echo Build completed on `date`